<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
  <head>
    <meta>
    <title>注册页面</title>
    <script src="js/regcheckdata.js"></script>
   
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <!-- Loading Bootstrap -->
    <link href="${pageContext.request.contextPath }/css/bootstrap.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="${pageContext.request.contextPath }/css/flat-ui.css" rel="stylesheet">

    <link rel="shortcut icon" href="images/favicon.ico">

   
  </head>
  <body style="background-image:url('images/bg1.gif')">
  <form  action="updatePwd.action" method="post" name = "myform" onsubmit="return checkdata();">
    <div style="background:#ddd;border-radius:0.6em;width:600px;height:400px;margin:5% auto;" class="container">
    	<div style="margin-top:5%;" class="form-group">
		    <table>
		    	<tr>
		    		<td>原密码:</td>
		    		<td>
		    			<input id="oldPSW" name="oldPSW" type="password" class="form-control" placeholder="password" onkeypress="EnterPress(event)" onclick="checkUserName2()" onblur="checkPSW(this.value)"/>
		    		</td>
		    		<td><span id="userPSWERR"></span></td>
		    	</tr>
		    	<tr>
		    		<td>新密码:</td>
		    		<td>
		    			<input id="psw" name="psw" type="password" class="form-control" placeholder="password" onkeypress="EnterPress(event)" onclick="checkUserName2()" onblur="checkPSW(this.value)"/>
		    		</td>
		    		<td><span id="userPSWERR"></span></td>
		    	</tr>
		    	<tr>
		    		<td>确认密码:</td>
		    		<td>
		    			<input id="confirmPSW" name="confirmPSW" type="password" class="form-control" placeholder="confirm password" onkeypress="EnterPress(event)" onblur="checkConfirmPSW(this.value)"/>
		    		</td>
		    		<td><span id="userConfirmPSWERR"></span> </td>
		    	</tr>
		    	<tr>
		    		<td></td>
		    		<td>
		    			<button class="btn btn-primary" type="submit">submit</button>
		    			<button class="btn btn-default" type="reset">reset</button>
		    		</td>
		    	</tr>
		    </table>
	 	</div>
     </div>
   </form>
    <!-- /.container -->


    <!-- Load JS here for greater good =============================-->
    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="js/jquery.ui.touch-punch.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bootstrap-select.js"></script>
    <script src="js/bootstrap-switch.js"></script>
    <script src="js/flatui-checkbox.js"></script>
    <script src="js/flatui-radio.js"></script>
    <script src="js/jquery.tagsinput.js"></script>
    <script src="js/jquery.placeholder.js"></script>
  </body>
</html>
